import Vue from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import ElementUI from 'element-ui';
import VueRouter from 'vue-router';
import echarts from 'echarts';
import 'element-ui/lib/theme-chalk/index.css';
import './assets/global.css';

//引入axios
import axios from 'axios'
import *as echartsGL from 'echarts-gl'


Vue.prototype.$axios = axios

//定义访问地址前缀
Vue.prototype.$httpUrl = 'http://localhost:8080/LuLi'
Vue.config.productionTip = false
Vue.use(ElementUI);
Vue.use(VueRouter);
Vue.prototype.$echarts = echarts;
Vue.prototype.$echartsGL = echartsGL
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
